﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="CreateContent.ascx.cs"
    Inherits="Framework.Module.CMS.Admin.Author.CreateContent" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="Framework.FilePickerControl" Namespace="Framework.FilePicker"
    TagPrefix="cc2" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:Label ID="lblUpdateStatus" runat="server" ForeColor="Blue" Font-Bold="True"></asp:Label>
<table cellspacing="0" cellpadding="3" width="100%" align="center" border="0">
    <tr>
        <td class="InputBox" valign="top">
            <table cellspacing="0" cellpadding="5" width="100%" align="center">
                <tr>
                    <td>
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List"></asp:ValidationSummary>
                        <asp:Label ID="lblStatusUpdate" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <table cellspacing="5" cellpadding="5" width="100%" align="center" border="0" id="TABLE2"
                            onclick="return TABLE2_onclick()">
                            <tr>
                                <td colspan="2">
                                    <strong>Loại bài :</strong>
                                    <asp:RadioButtonList ID="rdoContentRanks" runat="server" RepeatDirection="Horizontal"
                                        RepeatLayout="Flow">
                                        <asp:ListItem Value="1" Selected="True">B&#236;nh thường</asp:ListItem>
                                        <asp:ListItem Value="2">Ti&#234;u điểm</asp:ListItem>
                                        <asp:ListItem Value="3">Nổi bật</asp:ListItem>                                        
                                    </asp:RadioButtonList>
                                    <asp:CheckBox ID="chkHotNews" runat="server" Text="Tin nóng trang chủ" />
                                    <asp:CheckBox ID="chkLevel2" runat="server" Text="Hiển thị trang Giới thiệu" /></td>
                            </tr>
                            <tr><td colspan="2" style="height:5px;"></td></tr>
                            <tr>
                                <td>
                                    <table id="Table1" cellspacing="0" cellpadding="0"  border="0">
                                        <tr>
                                            <td style="height: 24px">
                                                <strong>Ngày đăng bài lên:</strong>
                                            </td>
                                            <td style="height: 24px">
                                                <asp:TextBox ID="txtDatetime" Width="170px" runat="server"></asp:TextBox></td>
                                            <td style="height: 24px">
                                                <!--Giờ đăng:&nbsp;-->
                                                <asp:TextBox ID="txtHour" Width="60px" runat="server" Visible="False"></asp:TextBox></td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width:210">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <strong>Ngày gỡ xuống: Ngày
                                        <asp:DropDownList ID="dropExpireDay" runat="server" Width="64px">
                                        </asp:DropDownList>
                                        Tháng
                                        <asp:DropDownList ID="dropExpireMonth" runat="server" Width="64px">
                                        </asp:DropDownList>
                                        Năm
                                        <asp:DropDownList ID="dropExpireYear" runat="server" Width="64px">
                                        </asp:DropDownList></strong></td>
                            </tr>
                            <tr>
                                <td style="height: 28px" colspan="2">
                                    <strong>
                                    Góp ý:</strong>
                                    <asp:CheckBox ID="chkIsComment" runat="server"></asp:CheckBox>
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <strong>
                                    Sự kiện liên quan:</strong>&nbsp;&nbsp;
                                        <asp:DropDownList ID="dropEvent" runat="server" Width="250" DataValueField="Event_ID" DataTextField="Event_Name"></asp:DropDownList></td>
                                
                            </tr>
                            
                            <tr>
                                <td colspan="2">                                   
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    <strong>Mục lưu tin :</strong></td>
                                <td style="width:210">
                                    <strong>Đăng vào mục</strong></td>
                            </tr>
                            <tr>
                                <td>
                                    
                                            <asp:DropDownList ID="dropZones" runat="server" Width="100%"></asp:DropDownList>
                                        
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="dropZones"
                                        ErrorMessage="Chưa chọn mục lưu tin" Display="Dynamic">(*)</asp:RequiredFieldValidator></td>
                                <td valign="top" rowspan="10">
                                   
                                    <asp:ListBox ID="lstZones" runat="server" Width="250px" BorderColor="#cccc33" Height="420px"
                                        SelectionMode="Multiple"></asp:ListBox></td>
                            </tr>
                            <tr>
                                <td>
                                    <strong>Tiêu đề</strong></td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtHeadline" runat="server" Width="100%" Height="72px" TextMode="MultiLine"></asp:TextBox><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtHeadline" ErrorMessage="Chưa nhập tiêu đề"
                                        Display="Dynamic">(*)</asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td><strong>Tiêu đề phụ</strong></td>                                
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtSubTitle" runat="server" Width="100%" Height="50px" TextMode="multiline"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <strong>Tóm tắt</strong></td>
                            </tr>
                            <tr>
                                <td style="width:504px;">
                                    &nbsp;<asp:TextBox ID="txt_teaser" runat="server" Height="150px" TextMode="MultiLine"
                                        Width="100%"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="height:15px"></td>
                            </tr>
                            <tr>
                                <td>
                                    <strong>Avartar cho bài nổi bật trang chủ các kênh</strong></td>
                            </tr>
                            <tr>
                                <td>
                                    <cc2:FilePicker ID="txtSpecialAvatar" runat="server" Width="248px" fpPopupURL="/FilePicker/TUFilePicker.aspx"></cc2:FilePicker>-->
                                    &nbsp;&nbsp;&nbsp;rộng
                                    <asp:TextBox ID="txtSpecialAvatarwidth" runat="server" Width="65px"></asp:TextBox>&nbsp;cao
                                    <asp:TextBox ID="txtSpecialAvatarHeight" runat="server" Width="65"></asp:TextBox>&nbsp;(px)     
                                </td>
                            </tr>   
                            <tr>
                                <td>
                                    <strong>Avartar</strong></td>
                            </tr>
                            <tr>
                                <td>
                                    <!--<cc2:FilePicker ID="txtAvatar" runat="server" Width="248px" fpPopupURL="/FilePicker/TUFilePicker.aspx"></cc2:FilePicker>-->
                                    &nbsp;&nbsp;&nbsp;rộng
                                    <asp:TextBox ID="txtAvatar2width" runat="server" Width="65px">173</asp:TextBox>&nbsp;cao
                                    <asp:TextBox ID="txtAvatar2Height" runat="server" Width="65">173</asp:TextBox>&nbsp;
                                    (px)
                                    
                    
                                </td>
                            </tr>                           
                            <tr>
                                <td>
                                    <strong>Mô tả ảnh</strong></td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtAvatarDes" runat="server" Width="400px" TextMode="MultiLine"
                                        Rows="3"></asp:TextBox></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Bút danh</strong> :&nbsp;&nbsp;<asp:TextBox ID="lbAlias" Width="200px"
                            runat="server">
                        </asp:TextBox>
                        &nbsp;Lấy từ:
                        <asp:TextBox ID="txtSource" runat="server" Width="200px" TextMode="SingleLine"></asp:TextBox>                       
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Nội dung chính</strong></td>
                </tr>
                <tr>
                    <td>
                        <FCKeditorV2:FCKeditor ID="txtContent" runat="server"></FCKeditorV2:FCKeditor>
                    </td>
                </tr>
                <tr>
                    <td><br /><strong>Box chú giải</strong></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtNoteBox" runat="server" Width="504px" TextMode="multiline" Rows="3"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td><br /><asp:CheckBox ID="chkAlbum" runat="server" Text="Tạo Album cho bài viết này" /></td>
                </tr>
                <tr>
                    <td>
                        <asp:CheckBox ID="chkCache" Text="Xóa bộ đệm (Cache) khi đăng bài" runat="server"></asp:CheckBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:CheckBox ID="chkwaitting" Text="Đăng bài vào mục chờ đăng" runat="server"></asp:CheckBox>
                    </td>
                </tr>
                <tr>
                    <td style="height: 31px">
                        <p align="center">
                            <asp:Button ID="cmdAdd" AccessKey="d" runat="server" Width="107px" ToolTip="Alt + D"
                                Text="Đăng bài" OnClick="cmdAdd_Click"></asp:Button><asp:Button ID="cmdSave" AccessKey="a"
                                    runat="server" Width="103px" ToolTip="Alt + A" Text="Lưu bài" OnClick="cmdSave_Click">
                                </asp:Button><asp:Button ID="cmdHuy" AccessKey="e" runat="server" Width="110px" ToolTip="Alt + E"
                                    Text="Hủy" CausesValidation="False" OnClick="cmdHuy_Click"></asp:Button><asp:Button
                                        ID="cmdBack" AccessKey="b" runat="server" Width="110px" ToolTip="Alt + B" Text="Trở lại"
                                        CausesValidation="False" OnClick="cmdBack_Click"></asp:Button></p>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
